﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Business_Cisoft3G_CustomRedrect : WebUI.Page.BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string type = string.Empty;
        string msg = string.Empty;
        string url = string.Empty;

        if (Request.QueryString["Type"] != null)
        {
            type = Server.HtmlDecode(Request.QueryString["Type"].ToString());
        }
        if (Request.QueryString["Message"] != null)
        {
            msg = Server.HtmlDecode(Request.QueryString["Message"].ToString());
        }
        if (Request.QueryString["Url"] != null)
        {
            url = Server.HtmlDecode(Request.QueryString["Url"].ToString());
        }

        if (type == "False")
        {
            PageError(msg, url);
        }
        else
        {
            PageRight(msg, url, "点击返回", "");
        }
    }
}
